Skip to content

webextensions.api.storage.session - setAccessLevel doesn't seem to be actually supported #26694

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rethan236 opened this issue May 2, 2025 · 1 comment
Assignees
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions p1 Highest priority – Should be addressed in the next few releases.

Comments

@rethan236
Copy link

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

The compatibility table for storage.session states that setAccessLevel is supported by Firefox.

However the detailed page for setAccessLevel states otherwise. From what I tested, the detail page seems to be right: setAccessLevel is not supported by Firefox.

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

Both pages should show setAccessLevel as "not supported" by Firefox.

Did you test this? If so, how?

Tested with an extension in Firefox 138. The background script can access browser.storage.session, but browser.storage.session.setAccessLevel is undefined.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

See issue description.

Do you have anything more you want to share?

♥️ Firefox

MDN URL

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage/session

MDN metadata

MDN page report details
  • Query: webextensions.api.storage.session
  • Report started: 2025-05-02T17:47:21.249Z
@rethan236 rethan236 added the needs triage This issue needs to be confirmed label May 2, 2025
@github-actions github-actions bot added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label May 2, 2025
@rebloor
Copy link
Contributor

rebloor commented May 5, 2025

Supported by comment 8 on Bug 1687778 MV3 in-memory storage API (storage.session)

@rebloor rebloor added p1 Highest priority – Should be addressed in the next few releases. and removed needs triage This issue needs to be confirmed labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions p1 Highest priority – Should be addressed in the next few releases.
Projects
None yet
Development

No branches or pull requests

2 participants